package com.kuang.pojo;


import java.util.Date;

public class Blog {

  private String id;
  private String title;
  private String author;
  private Date createTime;
  private long views;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }

  public Date getCreatTime() {
    return createTime;
  }

  public void setCreatTime(Date creatTime) {
    this.createTime = creatTime;
  }

  public long getViews() {
    return views;
  }

  public void setViews(long views) {
    this.views = views;
  }

  @Override
  public String toString() {
    return "Blog{" +
            "id='" + id + '\'' +
            ", title='" + title + '\'' +
            ", author='" + author + '\'' +
            ", creatTime=" + createTime +
            ", views=" + views +
            '}';
  }
}
